﻿/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 *                                                                             *
 * \World_of_Tanks\res_mods\xvm\configs\@BadalXVM\hitLog.xc                    *
 *                                                                             *
 * =========================================================================== *
 *                                                                             *
 * All XVM parameters related to the HITLOG battle hits counter                *
 *                                                                             *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
{
  "hitLog": {
    "visible": true,

    // Show enemy HP left by Alt press
    // Destroyed enemies and enemies HP gets updated only when it markers become visible.
    // Markers are visible only inside 1000m side square.
    // Square with 1000 meters side is game engine restriction. Maximum marker show distance.
    // Particular enemy data will not be updated while you cant see this enemy marker or its wreck.

    "hpLeft": {
        // false - Disable.
        "enabled": true,
        // Header - Only localization macros are allowed, see readme-en.txt.
       "header": "<font color='#FFFFFF'><b>{{l10n:hpLeftTitle}}</b></font>",
        // Row in HP list (macros allowed, see readme-en.txt).
       "format": "<textformat leading='-4' tabstops='[20,110,210]'>&nbsp;<tab><font color='{{c:hp-ratio}}' face='Consolas'>{{hp%4.0d|----}}</font>  <font color='#888888'>[</font><font color='#FFFFFF' face='Consolas'>{{hp-max%4.0d|----}}</font><font color='#888888'>]</font><tab><font color='{{c:vtype}}' face='Arial Narrow'>{{vehicle}}</font><tab><font color='#888888'>|</font> <font color='#E8E8E8' face='Arial Narrow'>{{nick}}</font></textformat>"
    },

    // X position (negative values - bind to right side of screen).
    "x": 250,
    // Y position (negative values - bind to bottom side of screen).
    "y": -100,
    // Width.
    "w": 400,
    // Height.
    "h": 100,
    // Number of lines with hits. Old lines will be pushed out.
    "lines": 4,
    // Log direction: up - lines will be added from up to down, down - from down to up.
    "direction": "down",
    // Group hits by players name.
    "groupHitsByPlayer": true,
    // Insert order: begin - insert new values to begin, end - add to end.
    "insertOrder": "end",
    // Substitution for {{dead}} macro when tank is dead.
    "deadMarker": "<font face='Wingdings'>N</font>",
    "blowupMarker": "<font face='Wingdings'>M</font>",
    // Default header format (before first hit). Only localization macros are allowed, see readme-en.txt.
    "defaultHeader": "<font color='#FFFFFF'>{{l10n:Hits}}:</font> <font face='Consolas'><b>#0</b></font>",
    // Hits header format, including last hit (macros allowed, see readme-en.txt).
    "formatHeader": "<font color='#FFFFFF'># Hits:</font> <font face='Consolas'><b>{{n}}</b></font> <font color='#888888'>---</font> <font color='#FFFFFF'>Dmg Total: </font><font face='Consolas'><b>{{dmg-total}}</b></font> <font color='#888888'>---</font> <font color='#FFFFFF'>Avg: </font><font face='Consolas'><b>{{dmg-avg%.2d}}</b></font> <font color='#888888'>---</font> <font color='#FFFFFF'>Last Hit:</font> <font color='{{c:dmg-kind}}' face='Consolas'><b>{{dmg}}</b> {{dead}}</font>",
    // List of hits format (macros allowed, see readme-en.txt).
    "formatHistory": "<textformat leading='-4' tabstops='[20,110,210]'><font size='12'>×{{n-player}}:</font><tab><font color='{{c:dmg-kind}}' face='Consolas'>{{dmg%4.0d|0000}}</font>  <font color='#888888'>[</font><font color='#FFFFFF' face='Consolas'>{{dmg-player%4.0d|0000}}</font><font color='#888888'>]</font><tab><font color='{{c:vtype}}' face='Arial Narrow'>{{vehicle}}</font>&nbsp;<font color='{{c:dmg-kind}}'>{{dead}}</font><tab><font color='#888888'>|</font> <font color='#E8E8E8' face='Arial Narrow'>{{nick}}</font></textformat>",
    // Shadow options.
    "shadow": {
      // Opacity.
      "alpha": 100,
      "color": "0x000000",
      // Offset angle.
      "angle": 45,
      // Offset distance.
      "distance": 0,
      "size": 5,
      // Intensity.
      "strength": 150
    }
  }
}